package com.cheng.mapper;

import com.cheng.pojo.po.TwoIndex;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TwoIndexMapper {

    // 查询单个单位的所有二级指标
    List<TwoIndex> listTwoIndexByConditions(
        @Param("unit") String unit,
        @Param("progressstatus") String progressstatus,
        @Param("appealstatus") String appealstatus,
        @Param("vagueIndex") String vagueIndex,
        @Param("vagueWork") String vagueWork,
        @Param("offset") int offset,
        @Param("limit") int limit
    );
    List<TwoIndex> listTwoIndexTotal(
            @Param("unit") String unit,
            @Param("progressstatus") String progressstatus,
            @Param("appealstatus") String appealstatus,
            @Param("vagueIndex") String vagueIndex,
            @Param("vagueWork") String vagueWork,
            @Param("offset") int offset,
            @Param("limit") int limit
    );


}
